package com.ctshk.rpc.booking.service;


import com.ctshk.common.dto.Result;
import com.ctshk.common.model.PageResponse;
import com.ctshk.rpc.booking.dto.unsubscribe.get.SupplierUnsubscribeGetDTO;
import com.ctshk.rpc.booking.dto.unsubscribe.page.SupplierUnsubscribePageDTO;
import com.ctshk.rpc.booking.req.unsubscribe.page.SupplierUnsubscribeFinanceContactsPageReq;
import com.ctshk.rpc.booking.req.unsubscribe.page.SupplierUnsubscribePageReq;
import com.ctshk.rpc.booking.req.unsubscribe.save.SupplierUnsubscribeSaveReq;

/**
 * <p>
 * 供应商退订 服务类
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-25
 */
public interface ISupplierUnsubscribeService {

    PageResponse<SupplierUnsubscribePageDTO> getFinanceContactsPage(SupplierUnsubscribeFinanceContactsPageReq unsubscribeFinanceContactsPageReq);

    PageResponse<SupplierUnsubscribePageDTO> getUnsubscribeList(SupplierUnsubscribePageReq supplierOrderSystemCommodityPageReq);

    Result<Long> saveUnsubscribe(SupplierUnsubscribeSaveReq supplierUnsubscribeSaveReq, Long userId);

    SupplierUnsubscribeGetDTO getUnsubscribe(Long id);

}
